<!DOCTYPE html>
<html>
<head>
    <% include ../include/css_header.html %>
</head>
<body>
    <button type="button" id="btn">提交</button>
    <input name="_csrf" type="hidden" value="<%=token %>">
    <% include ../include/js_footer.html %>
    <script>
        $(function(){
            $('#btn').on('click', function(){
                $.post('/test_token', {
                    _csrf: '<%=token %>',
                    id: 1,
                    name: 'lgyhitler'
                }, function(res){
                    console.info(res);
                })
            });
        })
    </script>
</body>
</html>